package com.dlc.beijingrfid.base;

/**
 * Created by YoungeTao on 2017/7/21
 * QQ 2276559259.
 * gmail youngetao@gmail.com
 */

public class Constants {

    public interface START_TYPE {
        int WASH_ORDER = 0;
        int LEASE_ORDER = 1;
    }

    public interface REQUEST_CODE {
        int SCAN = 1001;
        int UPDATE_NICKNAME = 1002;
    }

    public interface PRODUCT_TYPE {
        int TOWEL = 1;
        int SHEET = 2;
        int BEDDING = 3;
    }
    public interface ITEM_LEVEL {
        int LEVEL_0 = 0;
        int LEVEL_1 = 1;
    }

    public interface USER {
        String ID = "id";
        String COMPANY_ID = "company_id";
        String ACCOUNT = "account";
        String PASSWORD = "password";
        String NAME = "name";
        String SEX = "sex";
        String STATUS = "status";
        String CTIME = "ctime";
        String LASTTIME = "lasttime";
        String LASTIP = "lastip";
        String LOGINCOUNT = "logincount";
        String TIMESTAMP = "timestamp";
        String SIGN = "sign";
        String NICKNAME = "nickname";
        String AVATAR = "avatar";
        String TYPE = "type";
        String HOTEL_ID = "hotel_id";
    }
    public interface LoginData {
        String PHONE = "phone";
        String PW = "pw";
        String DATA = "data";

    }

    /**
     * 管理员
     */
    public static final int TYPE_ADMIN = 1;
    /**
     * 仓管员
     */
    public static final int TYPE_STOREKEEPER = 2;
    /**
     * 酒店端
     */
    public static final int TYPE_HOTEL = 3;

    public static final String PHONE_NUMBER = "number";

    public interface ITEM_TYPE {
        int WAREHOUSE = 0;  //仓库
        int LIBRARY = 1; //库位
        int SPEC = 2;  //规格分类
        int Hospital = 3; //产品分类
        int departments = 4;//
        int user = 6;//
        int PRODUCT = 7;//
        int COUNTING_NUMBER = 5; //盘点单号
    }
}
